package cn.stylefeng.guns.modular.business.frequency.orderfinishrecorddetail.model.param;

import cn.stylefeng.guns.core.pojo.base.param.BaseParam;

import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;

/**
 * 订单交付记录详情表
 *
 * @author yujie
 * @date 2023/05/30 18:11
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class OrderFinishRecordDetailParam extends BaseParam {

    /**
     * id
     */
    @NotNull(message = "id不能为空",groups = {edit.class})
    private Long id;

    /**
     * finish_record_id
     */
    @NotNull(message = "finish_record_id不能为空",groups = {add.class,edit.class})
    private Long finishRecordId;

    /**
     * order_id
     */
    @NotNull(message = "order_id不能为空",groups = {add.class,edit.class})
    private Long orderId;

    /**
     * 租户ID
     */
    @NotNull(message = "租户ID不能为空",groups = {add.class,edit.class})
    private Long tenantId;

}
